﻿<%@ Page Language="C#" MasterPageFile="~/Member/UserManage.master" AutoEventWireup="true"
    CodeFile="JobEdit.aspx.cs" Inherits="Member_Job_JobEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContInfo" runat="server">

    <script type="text/javascript" src="../../js/calendar.js"></script>

    <form id="form1">
        <asp:Panel ID="pnlSucess" runat="server" Visible="False">
            <div class="itemtitle">
                你好修改成功了。
            </div>
        </asp:Panel>
        <asp:Panel ID="pnlFail" runat="server" Visible="False">
            <div class="itemtitle">
                你好修改失败了。
            </div>
        </asp:Panel>
        <div id="sub_content">
            <div class="pagetitle">
                修改职位</div>
            <div class="h2_title">
                <h2>
                    修改职位</h2>
            </div>
            <table border="0" cellpadding="0" cellspacing="0" width="100%" class="lr_bo">
                <tr>
                    <td class="thing">
                        职位类别：
                    </td>
                    <td class="td_c">
                        <span>
                            <asp:DropDownList ID="dropTypeID" runat="server" Width="150px">
                            </asp:DropDownList>
                        </span>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        职位名称：</td>
                    <td class="td_c">
                        <span>
                            <asp:TextBox ID="txtposition" runat="server"></asp:TextBox></span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtposition"
                            ErrorMessage="职位名称不能为空"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td class="thing">
                        招聘人数：</td>
                    <td class="td_c">
                        <span>
                            <asp:TextBox ID="txtcount" ToolTip="招聘人数只能是数字" runat="server" onkeypress="if(event.keyCode < 48 || event.keyCode > 57) event.returnValue = false; "
                                MaxLength="12"></asp:TextBox>
                        </span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtcount"
                            ErrorMessage="招聘人数不能为空"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td class="thing">
                        学历要求：</td>
                    <td class="td_c">
                        <span>
                            <asp:DropDownList ID="txteducation" runat="server" Width="108px">
                                <asp:ListItem Value="不限">不限</asp:ListItem>
                                <asp:ListItem Value="高中">高中</asp:ListItem>
                                <asp:ListItem Value="中技">中技</asp:ListItem>
                                <asp:ListItem Value="中专">中专</asp:ListItem>
                                <asp:ListItem Value="大专">大专</asp:ListItem>
                                <asp:ListItem Value="本科" Selected="True">本科</asp:ListItem>
                                <asp:ListItem Value="硕士">硕士</asp:ListItem>
                                <asp:ListItem Value="博士">博士</asp:ListItem>
                            </asp:DropDownList></span>
                </tr>
                <tr>
                    <td class="thing">
                        年龄要求：
                    </td>
                    <td class="td_c">
                        <span>
                            <asp:TextBox ID="txtage1" runat="server" ToolTip="年龄只能输入数字" onkeypress="if(event.keyCode < 48 || event.keyCode > 57) event.returnValue = false; "
                                MaxLength="12" Width="60px"></asp:TextBox>~
                            <asp:TextBox ID="txtage2" ToolTip="年龄只能输入数字" runat="server" onkeypress="if(event.keyCode < 48 || event.keyCode > 57) event.returnValue = false; "
                                MaxLength="12" Width="60px"></asp:TextBox></span>
                            <asp:Label ID="lblwrong" ForeColor="red" runat="server"></asp:Label>
                        
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtage1"
                            ErrorMessage="起始年龄不能为空"></asp:RequiredFieldValidator>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ErrorMessage="终止年龄不能为空"
                            ControlToValidate="txtage2"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        工作经验：
                    </td>
                    <td class="td_c">
                        <span>
                            <asp:DropDownList ID="txtwork" runat="server" Width="108px">
                                <asp:ListItem Selected="True">无</asp:ListItem>
                                <asp:ListItem>1-3年</asp:ListItem>
                                <asp:ListItem>3-5年</asp:ListItem>
                                <asp:ListItem>5年以上</asp:ListItem>
                            </asp:DropDownList></span>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        工作性质：</td>
                    <td class="td_c">
                        <span>
                            <asp:DropDownList ID="txtTemper" runat="server" Width="108px">
                                <asp:ListItem Selected="True">全职</asp:ListItem>
                                <asp:ListItem>兼职</asp:ListItem>
                                <asp:ListItem>二者都可以</asp:ListItem>
                            </asp:DropDownList></span>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        工作地点：
                    </td>
                    <td class="td_c">
                        <span>
                            <asp:TextBox ID="txtaddress" runat="server"></asp:TextBox></span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtaddress"
                            ErrorMessage="工作地点不能为空"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        薪资水平：
                    </td>
                    <td class="td_c">
                        <span>
                            <asp:DropDownList ID="dropsalary" runat="server" Width="108px">
                                <asp:ListItem Selected="True">面议</asp:ListItem>
                                <asp:ListItem>1000以下</asp:ListItem>
                                <asp:ListItem>1000-1999</asp:ListItem>
                                <asp:ListItem>2000-2999</asp:ListItem>
                                <asp:ListItem>3000-3999</asp:ListItem>
                                <asp:ListItem>4000-4999</asp:ListItem>
                                <asp:ListItem>5000-7999</asp:ListItem>
                                <asp:ListItem>8000-10000</asp:ListItem>
                                <asp:ListItem>10000以上</asp:ListItem>
                            </asp:DropDownList></span>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        性别要求：
                    </td>
                    <td class="td_c">
                        <asp:DropDownList ID="dropsex" runat="server" Width="108px">
                            <asp:ListItem>不限</asp:ListItem>
                            <asp:ListItem Value="先生" Selected="True">先生</asp:ListItem>
                            <asp:ListItem Value="女士">女士</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td class="thing">
                        外语要求：
                    </td>
                    <td class="td_c">
                        <asp:DropDownList ID="dropEnlish" runat="server" Width="108px">
                            <asp:ListItem>专业</asp:ListItem>
                            <asp:ListItem>精通</asp:ListItem>
                            <asp:ListItem>熟练</asp:ListItem>
                            <asp:ListItem Selected="True">一般</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td class="thing">
                        计算机水平：</td>
                    <td class="td_c">
                        <asp:DropDownList ID="dropcomputer" runat="server" Width="108px">
                            <asp:ListItem>专业</asp:ListItem>
                            <asp:ListItem>精通</asp:ListItem>
                            <asp:ListItem>熟练</asp:ListItem>
                            <asp:ListItem Selected="True">一般</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        截止日期</td>
                    <td class="td_c">
                        <span>
                            <asp:TextBox ID="txtenddate" onfocus="calendar()" runat="server" Width="100px"></asp:TextBox>
                        </span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtenddate"
                            ErrorMessage="截止日期不能为空"></asp:RequiredFieldValidator><asp:Label id="Lblmsgtime" runat="server" ForeColor="Red"></asp:Label></td>
                </tr>
                <tr>
                    <td colspan="2" align="center" style="height: 45px; border-bottom: 1px #CCCCCC solid;">
                        <asp:Button ID="btnUpdate" runat="server" Text="保存" CssClass="i_button" OnClick="btnSave_Click" />
                        <asp:Button ID="btnCancel" runat="server" Text="取消" CssClass="i_button" OnClick="btnCancel_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</asp:Content>
